﻿<html>
<head>
	<title><?php echo APP_TITLE; ?></title>
	<link href="includes/css/layout.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" language="Javascript" src="<?php echo HTTP_HOST; ?>/includes/js/jquery1.6.js"></script>
	<script type="text/javascript" language="Javascript" src="<?php echo HTTP_HOST; ?>/includes/js/layout.js"></script>
</head>
<body>
	<div id="header">
		<div id="top_header">
			<a id="logout" href="javascript:void(0)">LOGOUT</a>&nbsp;&nbsp;
		</div>
		<div id="sitename">
			<a href="<?php echo HTTP_HOST; ?>" class="logo float-left" title="TechnoCoders Bootcamp">TechnoCoders Bootcamp</a>
		</div>
		<ul id="navigation">
			<li><a href="<?php echo HTTP_HOST; ?>/projects/">Projects and Tasks</a></li>
			<li><a href="<?php echo HTTP_HOST; ?>/tutorials/">Tutorials / How to</a></li>
			<li><a href="<?php echo HTTP_HOST; ?>/profile/">Team profile</a></li>
			<li><a href="<?php echo HTTP_HOST; ?>/scripts/">Open Source</a></li>
			<li><a href="<?php echo HTTP_HOST; ?>/entertainment/">Entertainment</a></li>
			<?php if(isset($this->user['position_id']) && $this->user['position_id'] == ADMIN_ID): ?>
			<li><a href="<?php echo HTTP_HOST . '/admin'; ?>">Admin Control</a></li>
			<?php endif; ?>
		</ul>
	</div>
	<div>
		<div id="main"><?php echo $this->layout()->content; ?></div>
		<div id="sidebar">
			
		</div>
	</div>
</body>
</html>